package com.zhuiyun.project;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 *
 * MapperScan 中如果时多个包可以使用数据 如：@MapperScan({"com.zhuiYun.project.*.mapper","com.zhuiYun.project.*.mapper"})
 * 项目启动类  本项目将作为模板项目
 * 技术包括 springboot+tk_mybatis+mybatis+mysql+redis+druid+spring security + jwt + swagger  mq + es
 */
@SpringBootApplication
@EnableScheduling
@MapperScan("com.zhuiyun.project.api.*.mapper")
public class ProjectApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProjectApplication.class, args);
    }

}
